import java.io.IOException;
import java.net.UnknownHostException;

import client.Client;

public class Program {

	public final static boolean DEBUG = false;

	/**
	 * @param args
	 */
	public static void main(String[] args) {

		if (args.length != 1) {
			System.out.println("<server_ip> Invalid arguments");
			return;
		}

		try {
			Client client = new Client(args[0]);
		} catch (UnknownHostException e) {
			System.out.println("Server is unavailable");
		} catch (IOException e) {
			System.out.println("Could not connect");
		}
	}

}
